# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=nishang
pkgver=0.7.6
pkgrel=3
groups=('blackarch' 'blackarch-windows' 'blackarch-misc')
pkgdesc='Using PowerShell for Penetration Testing.'
url='https://github.com/samratashok/nishang/'
arch=('any')
license=('GPL3')
source=("https://github.com/samratashok/nishang/archive/v$pkgver.zip")
sha512sums=('4faa209254e6d4f8a4e3e021313626d7ea4ea207e3f79e469a25ee5b78c449d4f08b3627e6160a145c366c9bba5a8994593ae88e3676cbb6ddce4752903e4efa')

package() {
  cd "$pkgname-$pkgver"

  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  cp -a * "$pkgdir/usr/share/windows/$pkgname/"
}

